package com.dd.web.securities.constant;

/**
 * 交易所编码
 */
public enum ExchangeEnum {
    SHANGZHENG(1,"sh","上证交易所"),SHENZHENG(0,"sz","深证交易所");
    private int code;
    private String ecode;
    private String cname;

    private ExchangeEnum(int code,String ecode,String cname){
        this.code = code;
        this.ecode = ecode;
        this.cname = cname;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getEcode() {
        return ecode;
    }

    public void setEcode(String ecode) {
        this.ecode = ecode;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }
}
